package cn.wolfcode.trip.base.util;

import lombok.*;

@Getter@Setter@NoArgsConstructor@AllArgsConstructor@ToString
public class JSONResult {

    private String msg;
    private boolean success=true;
    private Object data;

    public JSONResult mark(String msg){
        this.success = false;
        this.msg = msg;
        return this;
    }
}
